import org.molamil.acto.pages.PageContext;

/**
 * XXX: Document.
 * 
 * @author Jorge Hernandez
 */
interface org.molamil.acto.pages.factory.PageContainer {
	
	
	/**
	 * Checks that the page exists.
	 * 
	 * @param   name Name of the page.
	 * @return  Whether the page exists or not.
	 */
	function containsPage(name:String):Boolean;
	
	/**
	 * Gets a page by name.
	 *    
	 * @param   name Page name.
	 * @return  If found, a <code>PageMaster</code> object 
	 * 			(<code>ExternalPageMaster</code>, <code>InternalPageMaster</code> or <code>LinkedPageMaster</code>).	
	 * 			If not found, <code>null</code>.
	 */
	function getPage(name:String):PageContext;
	
	function getPages():Array;
	
	function getPagesAt(level:Number):Array;
	
	
}